package ro.msg.quiz.view;

import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

/**
 * Create the panel.
 * 
 * @author Adorjan
 */
public class AddQuizTitlePanel extends JPanel {
	private final JTextField textField;

	/**
	 * The panel's constructor
	 * 
	 * @author Adorjan
	 */
	public AddQuizTitlePanel() {
		setLayout(null);

		JLabel lblTitle = new JLabel("Title");
		lblTitle.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblTitle.setBounds(43, 91, 35, 14);
		add(lblTitle);

		textField = new JTextField();
		textField.setBounds(94, 89, 151, 20);
		add(textField);
		textField.setColumns(10);

	}

	/**
	 * @return the textField
	 */
	public JTextField getTextField() {
		return textField;
	}

}
